#include "student_interface.h"
#include "student_data.h"
#include <assert.h>


void student_interface_init(student_interface_t *interface) 
{
        assert(interface != NULL);

        interface->management.add_student_fn = data_add_student;
        interface->management.delete_student_id_fn = data_delete_student_id;
        interface->management.delete_student_name_fn = data_delete_student_name;
        interface->management.update_student_fn = data_update_student;
        interface->management.query_student_id_fn = data_query_student_id;
        interface->management.query_student_name_fn = data_query_student_name;
        interface->management.get_all_students_fn = data_get_all_student;
}
